﻿<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="Cache-Control" content="no-cache, must-revalidate">
    <meta http-equiv="expires" content="Wed, 26 Feb 1997 08:21:57 GMT">
    <link rel='stylesheet' type='text/css' href='http://tool.oschina.net/js/syntaxhighlighter_3.0.83/styles/shCoreDefault.css'>
    <title>函数说明</title>
</head>

<body>
    <div id="highlighter_299149" class="syntaxhighlighter  js"><div class="toolbar"><span><a href="#" class="toolbar_item command_help help">?</a></span></div><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div><div class="line number8 index7 alt1">8</div><div class="line number9 index8 alt2">9</div><div class="line number10 index9 alt1">10</div><div class="line number11 index10 alt2">11</div><div class="line number12 index11 alt1">12</div><div class="line number13 index12 alt2">13</div><div class="line number14 index13 alt1">14</div><div class="line number15 index14 alt2">15</div><div class="line number16 index15 alt1">16</div><div class="line number17 index16 alt2">17</div><div class="line number18 index17 alt1">18</div><div class="line number19 index18 alt2">19</div><div class="line number20 index19 alt1">20</div><div class="line number21 index20 alt2">21</div><div class="line number22 index21 alt1">22</div><div class="line number23 index22 alt2">23</div><div class="line number24 index23 alt1">24</div><div class="line number25 index24 alt2">25</div><div class="line number26 index25 alt1">26</div><div class="line number27 index26 alt2">27</div><div class="line number28 index27 alt1">28</div><div class="line number29 index28 alt2">29</div><div class="line number30 index29 alt1">30</div><div class="line number31 index30 alt2">31</div><div class="line number32 index31 alt1">32</div><div class="line number33 index32 alt2">33</div><div class="line number34 index33 alt1">34</div><div class="line number35 index34 alt2">35</div><div class="line number36 index35 alt1">36</div><div class="line number37 index36 alt2">37</div><div class="line number38 index37 alt1">38</div><div class="line number39 index38 alt2">39</div><div class="line number40 index39 alt1">40</div><div class="line number41 index40 alt2">41</div><div class="line number42 index41 alt1">42</div><div class="line number43 index42 alt2">43</div><div class="line number44 index43 alt1">44</div><div class="line number45 index44 alt2">45</div><div class="line number46 index45 alt1">46</div><div class="line number47 index46 alt2">47</div><div class="line number48 index47 alt1">48</div><div class="line number49 index48 alt2">49</div><div class="line number50 index49 alt1">50</div><div class="line number51 index50 alt2">51</div><div class="line number52 index51 alt1">52</div><div class="line number53 index52 alt2">53</div><div class="line number54 index53 alt1">54</div><div class="line number55 index54 alt2">55</div><div class="line number56 index55 alt1">56</div><div class="line number57 index56 alt2">57</div><div class="line number58 index57 alt1">58</div><div class="line number59 index58 alt2">59</div><div class="line number60 index59 alt1">60</div><div class="line number61 index60 alt2">61</div><div class="line number62 index61 alt1">62</div><div class="line number63 index62 alt2">63</div><div class="line number64 index63 alt1">64</div><div class="line number65 index64 alt2">65</div><div class="line number66 index65 alt1">66</div><div class="line number67 index66 alt2">67</div><div class="line number68 index67 alt1">68</div><div class="line number69 index68 alt2">69</div><div class="line number70 index69 alt1">70</div><div class="line number71 index70 alt2">71</div><div class="line number72 index71 alt1">72</div><div class="line number73 index72 alt2">73</div><div class="line number74 index73 alt1">74</div><div class="line number75 index74 alt2">75</div><div class="line number76 index75 alt1">76</div><div class="line number77 index76 alt2">77</div><div class="line number78 index77 alt1">78</div><div class="line number79 index78 alt2">79</div><div class="line number80 index79 alt1">80</div><div class="line number81 index80 alt2">81</div><div class="line number82 index81 alt1">82</div><div class="line number83 index82 alt2">83</div><div class="line number84 index83 alt1">84</div><div class="line number85 index84 alt2">85</div><div class="line number86 index85 alt1">86</div><div class="line number87 index86 alt2">87</div><div class="line number88 index87 alt1">88</div><div class="line number89 index88 alt2">89</div><div class="line number90 index89 alt1">90</div><div class="line number91 index90 alt2">91</div><div class="line number92 index91 alt1">92</div><div class="line number93 index92 alt2">93</div><div class="line number94 index93 alt1">94</div><div class="line number95 index94 alt2">95</div><div class="line number96 index95 alt1">96</div><div class="line number97 index96 alt2">97</div><div class="line number98 index97 alt1">98</div><div class="line number99 index98 alt2">99</div><div class="line number100 index99 alt1">100</div><div class="line number101 index100 alt2">101</div><div class="line number102 index101 alt1">102</div><div class="line number103 index102 alt2">103</div><div class="line number104 index103 alt1">104</div><div class="line number105 index104 alt2">105</div><div class="line number106 index105 alt1">106</div><div class="line number107 index106 alt2">107</div><div class="line number108 index107 alt1">108</div><div class="line number109 index108 alt2">109</div><div class="line number110 index109 alt1">110</div><div class="line number111 index110 alt2">111</div><div class="line number112 index111 alt1">112</div><div class="line number113 index112 alt2">113</div><div class="line number114 index113 alt1">114</div><div class="line number115 index114 alt2">115</div><div class="line number116 index115 alt1">116</div><div class="line number117 index116 alt2">117</div><div class="line number118 index117 alt1">118</div><div class="line number119 index118 alt2">119</div><div class="line number120 index119 alt1">120</div><div class="line number121 index120 alt2">121</div><div class="line number122 index121 alt1">122</div><div class="line number123 index122 alt2">123</div><div class="line number124 index123 alt1">124</div><div class="line number125 index124 alt2">125</div><div class="line number126 index125 alt1">126</div><div class="line number127 index126 alt2">127</div><div class="line number128 index127 alt1">128</div><div class="line number129 index128 alt2">129</div><div class="line number130 index129 alt1">130</div><div class="line number131 index130 alt2">131</div><div class="line number132 index131 alt1">132</div><div class="line number133 index132 alt2">133</div><div class="line number134 index133 alt1">134</div><div class="line number135 index134 alt2">135</div><div class="line number136 index135 alt1">136</div><div class="line number137 index136 alt2">137</div><div class="line number138 index137 alt1">138</div><div class="line number139 index138 alt2">139</div><div class="line number140 index139 alt1">140</div><div class="line number141 index140 alt2">141</div><div class="line number142 index141 alt1">142</div><div class="line number143 index142 alt2">143</div><div class="line number144 index143 alt1">144</div><div class="line number145 index144 alt2">145</div><div class="line number146 index145 alt1">146</div><div class="line number147 index146 alt2">147</div><div class="line number148 index147 alt1">148</div><div class="line number149 index148 alt2">149</div><div class="line number150 index149 alt1">150</div><div class="line number151 index150 alt2">151</div><div class="line number152 index151 alt1">152</div><div class="line number153 index152 alt2">153</div><div class="line number154 index153 alt1">154</div><div class="line number155 index154 alt2">155</div><div class="line number156 index155 alt1">156</div><div class="line number157 index156 alt2">157</div><div class="line number158 index157 alt1">158</div><div class="line number159 index158 alt2">159</div><div class="line number160 index159 alt1">160</div><div class="line number161 index160 alt2">161</div><div class="line number162 index161 alt1">162</div><div class="line number163 index162 alt2">163</div><div class="line number164 index163 alt1">164</div><div class="line number165 index164 alt2">165</div><div class="line number166 index165 alt1">166</div><div class="line number167 index166 alt2">167</div><div class="line number168 index167 alt1">168</div><div class="line number169 index168 alt2">169</div><div class="line number170 index169 alt1">170</div><div class="line number171 index170 alt2">171</div><div class="line number172 index171 alt1">172</div><div class="line number173 index172 alt2">173</div><div class="line number174 index173 alt1">174</div><div class="line number175 index174 alt2">175</div><div class="line number176 index175 alt1">176</div><div class="line number177 index176 alt2">177</div><div class="line number178 index177 alt1">178</div><div class="line number179 index178 alt2">179</div><div class="line number180 index179 alt1">180</div><div class="line number181 index180 alt2">181</div><div class="line number182 index181 alt1">182</div><div class="line number183 index182 alt2">183</div><div class="line number184 index183 alt1">184</div><div class="line number185 index184 alt2">185</div><div class="line number186 index185 alt1">186</div><div class="line number187 index186 alt2">187</div><div class="line number188 index187 alt1">188</div><div class="line number189 index188 alt2">189</div><div class="line number190 index189 alt1">190</div><div class="line number191 index190 alt2">191</div><div class="line number192 index191 alt1">192</div><div class="line number193 index192 alt2">193</div><div class="line number194 index193 alt1">194</div><div class="line number195 index194 alt2">195</div><div class="line number196 index195 alt1">196</div><div class="line number197 index196 alt2">197</div><div class="line number198 index197 alt1">198</div><div class="line number199 index198 alt2">199</div><div class="line number200 index199 alt1">200</div><div class="line number201 index200 alt2">201</div><div class="line number202 index201 alt1">202</div><div class="line number203 index202 alt2">203</div><div class="line number204 index203 alt1">204</div><div class="line number205 index204 alt2">205</div><div class="line number206 index205 alt1">206</div><div class="line number207 index206 alt2">207</div><div class="line number208 index207 alt1">208</div><div class="line number209 index208 alt2">209</div><div class="line number210 index209 alt1">210</div><div class="line number211 index210 alt2">211</div><div class="line number212 index211 alt1">212</div><div class="line number213 index212 alt2">213</div><div class="line number214 index213 alt1">214</div><div class="line number215 index214 alt2">215</div><div class="line number216 index215 alt1">216</div><div class="line number217 index216 alt2">217</div><div class="line number218 index217 alt1">218</div><div class="line number219 index218 alt2">219</div><div class="line number220 index219 alt1">220</div><div class="line number221 index220 alt2">221</div><div class="line number222 index221 alt1">222</div><div class="line number223 index222 alt2">223</div><div class="line number224 index223 alt1">224</div><div class="line number225 index224 alt2">225</div><div class="line number226 index225 alt1">226</div><div class="line number227 index226 alt2">227</div><div class="line number228 index227 alt1">228</div><div class="line number229 index228 alt2">229</div><div class="line number230 index229 alt1">230</div><div class="line number231 index230 alt2">231</div><div class="line number232 index231 alt1">232</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="js plain">CQS.C_Sync();&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="js comments">//同步代码到CQS插件</code></div><div class="line number2 index1 alt1"><code class="js plain">CQS.C_SendMsg_QQ(QQ,&nbsp;msg);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="js comments">//发送私聊消息</code></div><div class="line number3 index2 alt2"><code class="js plain">CQS.C_SendMsg_Group(groupid,&nbsp;msg);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="js comments">//发送群消息</code></div><div class="line number4 index3 alt1"><code class="js plain">CQS.C_SendMsg_Discuss(discussid,&nbsp;msg);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="js comments">//发送讨论组消息</code></div><div class="line number5 index4 alt2"><code class="js plain">CQS.C_SendLike(QQ);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="js comments">//发送手机赞</code></div><div class="line number6 index5 alt1"><code class="js plain">CQS.C_SetGroupKick(groupid,&nbsp;QQID,&nbsp;rejectaddrequest)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="js comments">//置群员移除</code></div><div class="line number7 index6 alt2"><code class="js plain">CQS.C_SetGroupBan(groupid,&nbsp;QQID,&nbsp;duration);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="js comments">//置群员禁言</code></div><div class="line number8 index7 alt1"><code class="js plain">CQS.C_SetGroupAdmin(groupid,&nbsp;QQID,&nbsp;setadmin);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="js comments">//置群管理员</code></div><div class="line number9 index8 alt2"><code class="js plain">CQS.C_SetGroupWholeBan(groupid,&nbsp;enableban);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="js comments">//置全群禁言</code></div><div class="line number10 index9 alt1"><code class="js plain">CQS.C_SetGroupAnonymousBan(groupid,&nbsp;anomymous,&nbsp;duration);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="js comments">//置匿名群员禁言</code></div><div class="line number11 index10 alt2"><code class="js plain">CQS.C_SetGroupAnonymous(groupid,&nbsp;enableanomymous);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="js comments">//置群匿名设置</code></div><div class="line number12 index11 alt1"><code class="js plain">CQS.C_SetGroupCard(groupid,&nbsp;QQID,&nbsp;newcard);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="js comments">//置群成员名片</code></div><div class="line number13 index12 alt2"><code class="js plain">CQS.C_SetGroupLeave(groupid,&nbsp;isdismiss);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="js comments">//置群退出</code></div><div class="line number14 index13 alt1"><code class="js plain">CQS.C_SetGroupSpecialTitle(groupid,&nbsp;QQID,&nbsp;newspecialtitle,&nbsp;duration);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="js comments">//置群成员专属头衔</code></div><div class="line number15 index14 alt2"><code class="js plain">CQS.C_SetDiscussLeave(discussid);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="js comments">//置讨论组退出</code></div><div class="line number16 index15 alt1"><code class="js plain">CQS.C_SetFriendAddRequest(responseflag,&nbsp;responseoperation,&nbsp;remark);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="js comments">//置好友添加请求</code></div><div class="line number17 index16 alt2"><code class="js plain">CQS.C_SetGroupAddRequestV2(responseflag,&nbsp;requesttype,&nbsp;responseoperation,&nbsp;reason)&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="js comments">//置群添加请求</code></div><div class="line number18 index17 alt1"><code class="js plain">CQS.C_GetGroupMemberInfoV2(groupid,&nbsp;QQID,&nbsp;nocache);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="js comments">//取群成员信息</code></div><div class="line number19 index18 alt2"><code class="js plain">CQS.C_GetStrangerInfo(QQID,&nbsp;nocache);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="js comments">//取陌生人信息</code></div><div class="line number20 index19 alt1"><code class="js plain">CQS.C_AddLog(priority,&nbsp;category,&nbsp;content);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="js comments">//日志</code></div><div class="line number21 index20 alt2"><code class="js plain">CQS.C_GetCookies();&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="js comments">//取Cookies</code></div><div class="line number22 index21 alt1"><code class="js plain">CQS.C_GetCsrfToken();&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="js comments">//取CsrfToken</code></div><div class="line number23 index22 alt2"><code class="js plain">CQS.C_GetLoginQQ();&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="js comments">//取登录QQ</code></div><div class="line number24 index23 alt1"><code class="js plain">CQS.C_GetLoginNick();&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="js comments">//取登录QQ昵称</code></div><div class="line number25 index24 alt2"><code class="js plain">CQS.C_GetAppDirectory();&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="js comments">//取应用目录</code></div><div class="line number26 index25 alt1"><code class="js plain">CQS.C_SetFatal(errorinfo);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="js comments">//置致命错误提示</code></div><div class="line number27 index26 alt2"><code class="js plain">CQS.C_GetRecord(file,&nbsp;outformat);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="js comments">//接收语音</code></div><div class="line number28 index27 alt1"><code class="js plain">CQS.C_GetPicUrl(a);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="js comments">//获取图片URL</code></div><div class="line number29 index28 alt2"><code class="js plain">CQS.C_Msgbox(a,&nbsp;b);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="js comments">//在登陆酷Q的电脑上弹框</code></div><div class="line number30 index29 alt1"><code class="js plain">CQS.C_HttpGet(url,&nbsp;head);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="js comments">//发送GET请求</code></div><div class="line number31 index30 alt2"><code class="js plain">CQS.C_HttpPost(url,&nbsp;head,&nbsp;data);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="js comments">//发送POST请求</code></div><div class="line number32 index31 alt1"><code class="js plain">CQS.C_Smid(zhong,&nbsp;qian,&nbsp;hou,&nbsp;QnH,&nbsp;QHJ,&nbsp;QK);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="js comments">//通过前后字符串截取数据</code></div><div class="line number33 index32 alt2"><code class="js plain">CQS.C_Len(a);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="js comments">//获取字符串的长度</code></div><div class="line number34 index33 alt1"><code class="js plain">CQS.C_Mid(a,&nbsp;b,&nbsp;c);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="js comments">//通过位置截取数据</code></div><div class="line number35 index34 alt2"><code class="js plain">CQS.C_Left(a,&nbsp;b);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="js comments">//从左截取数据</code></div><div class="line number36 index35 alt1"><code class="js plain">CQS.C_Right(a,&nbsp;b);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="js comments">//从右截取数据</code></div><div class="line number37 index36 alt2"><code class="js plain">CQS.C_trim(a);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="js comments">//清除字符串前后空格</code></div><div class="line number38 index37 alt1"><code class="js plain">CQS.C_replace(a,&nbsp;b,&nbsp;c);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="js comments">//替换字符串里的内容</code></div><div class="line number39 index38 alt2">&nbsp;</div><div class="line number40 index39 alt1">&nbsp;</div><div class="line number41 index40 alt2">&nbsp;</div><div class="line number42 index41 alt1">&nbsp;</div><div class="line number43 index42 alt2"><code class="js comments">//同步代码到CQS插件</code></div><div class="line number44 index43 alt1"><code class="js plain">CQS.C_Sync();</code></div><div class="line number45 index44 alt2">&nbsp;</div><div class="line number46 index45 alt1"><code class="js comments">//发送私聊消息</code></div><div class="line number47 index46 alt2"><code class="js comments">//QQID&nbsp;目标QQ号</code></div><div class="line number48 index47 alt1"><code class="js comments">//msg&nbsp;消息内容</code></div><div class="line number49 index48 alt2"><code class="js plain">CQS.C_SendMsg_QQ(QQ,&nbsp;msg);</code></div><div class="line number50 index49 alt1">&nbsp;</div><div class="line number51 index50 alt2"><code class="js comments">//发送群消息</code></div><div class="line number52 index51 alt1"><code class="js comments">//groupid&nbsp;群号</code></div><div class="line number53 index52 alt2"><code class="js comments">//msg&nbsp;消息内容</code></div><div class="line number54 index53 alt1"><code class="js plain">CQS.C_SendMsg_Group(groupid,&nbsp;msg);</code></div><div class="line number55 index54 alt2">&nbsp;</div><div class="line number56 index55 alt1"><code class="js comments">//发送讨论组消息</code></div><div class="line number57 index56 alt2"><code class="js comments">//discussid&nbsp;讨论组号</code></div><div class="line number58 index57 alt1"><code class="js comments">//msg&nbsp;消息内容</code></div><div class="line number59 index58 alt2"><code class="js plain">CQS.C_SendMsg_Discuss(discussid,&nbsp;msg);</code></div><div class="line number60 index59 alt1">&nbsp;</div><div class="line number61 index60 alt2"><code class="js comments">//发送赞&nbsp;发送手机赞</code></div><div class="line number62 index61 alt1"><code class="js comments">//QQID&nbsp;QQ号</code></div><div class="line number63 index62 alt2"><code class="js plain">CQS.C_SendLike(QQ);</code></div><div class="line number64 index63 alt1">&nbsp;</div><div class="line number65 index64 alt2"><code class="js comments">//置群员移除</code></div><div class="line number66 index65 alt1"><code class="js comments">//groupid&nbsp;目标群</code></div><div class="line number67 index66 alt2"><code class="js comments">//QQID&nbsp;QQ号</code></div><div class="line number68 index67 alt1"><code class="js comments">//rejectaddrequest&nbsp;不再接收此人加群申请，请慎用</code></div><div class="line number69 index68 alt2"><code class="js plain">CQS.C_SetGroupKick(groupid,&nbsp;QQID,&nbsp;rejectaddrequest)</code></div><div class="line number70 index69 alt1">&nbsp;</div><div class="line number71 index70 alt2"><code class="js comments">//置群员禁言</code></div><div class="line number72 index71 alt1"><code class="js comments">//groupid&nbsp;目标群</code></div><div class="line number73 index72 alt2"><code class="js comments">//QQID&nbsp;QQ号</code></div><div class="line number74 index73 alt1"><code class="js comments">//duration&nbsp;禁言的时间，单位为秒。如果要解禁，这里填写0。</code></div><div class="line number75 index74 alt2"><code class="js plain">CQS.C_SetGroupBan(groupid,&nbsp;QQID,&nbsp;duration);</code></div><div class="line number76 index75 alt1">&nbsp;</div><div class="line number77 index76 alt2"><code class="js comments">//置群管理员</code></div><div class="line number78 index77 alt1"><code class="js comments">//groupid&nbsp;目标群</code></div><div class="line number79 index78 alt2"><code class="js comments">//QQID&nbsp;QQ号</code></div><div class="line number80 index79 alt1"><code class="js comments">//setadmin&nbsp;true:设置管理员&nbsp;false:取消管理员</code></div><div class="line number81 index80 alt2"><code class="js plain">CQS.C_SetGroupAdmin(groupid,&nbsp;QQID,&nbsp;setadmin);</code></div><div class="line number82 index81 alt1">&nbsp;</div><div class="line number83 index82 alt2"><code class="js comments">//置全群禁言</code></div><div class="line number84 index83 alt1"><code class="js comments">//groupid&nbsp;目标群</code></div><div class="line number85 index84 alt2"><code class="js comments">//enableban&nbsp;true:开启&nbsp;false:关闭</code></div><div class="line number86 index85 alt1"><code class="js plain">CQS.C_SetGroupWholeBan(groupid,&nbsp;enableban);</code></div><div class="line number87 index86 alt2">&nbsp;</div><div class="line number88 index87 alt1"><code class="js comments">//置匿名群员禁言</code></div><div class="line number89 index88 alt2"><code class="js comments">//groupid&nbsp;目标群</code></div><div class="line number90 index89 alt1"><code class="js comments">//anomymous&nbsp;群消息事件收到的&nbsp;anomymous&nbsp;参数</code></div><div class="line number91 index90 alt2"><code class="js comments">//duration&nbsp;禁言的时间，单位为秒。不支持解禁。</code></div><div class="line number92 index91 alt1"><code class="js plain">CQS.C_SetGroupAnonymousBan(groupid,&nbsp;anomymous,&nbsp;duration);</code></div><div class="line number93 index92 alt2">&nbsp;</div><div class="line number94 index93 alt1"><code class="js comments">//置群匿名设置</code></div><div class="line number95 index94 alt2"><code class="js comments">//groupid&nbsp;目标群</code></div><div class="line number96 index95 alt1"><code class="js comments">//enableanomymous&nbsp;true:开启&nbsp;false:关闭</code></div><div class="line number97 index96 alt2"><code class="js plain">CQS.C_SetGroupAnonymous(groupid,&nbsp;enableanomymous);</code></div><div class="line number98 index97 alt1">&nbsp;</div><div class="line number99 index98 alt2"><code class="js comments">//置群成员名片</code></div><div class="line number100 index99 alt1"><code class="js comments">//groupid&nbsp;目标群</code></div><div class="line number101 index100 alt2"><code class="js comments">//QQID&nbsp;目标QQ</code></div><div class="line number102 index101 alt1"><code class="js comments">//newcard&nbsp;新名片(昵称)</code></div><div class="line number103 index102 alt2"><code class="js plain">CQS.C_SetGroupCard(groupid,&nbsp;QQID,&nbsp;newcard);</code></div><div class="line number104 index103 alt1">&nbsp;</div><div class="line number105 index104 alt2"><code class="js comments">//置群退出&nbsp;慎用,&nbsp;此接口需要严格授权</code></div><div class="line number106 index105 alt1"><code class="js comments">//groupid&nbsp;目标群</code></div><div class="line number107 index106 alt2"><code class="js comments">//isdismiss&nbsp;是否解散&nbsp;true:解散本群(群主)&nbsp;false:退出本群(管理、群成员)</code></div><div class="line number108 index107 alt1"><code class="js plain">CQS.C_SetGroupLeave(groupid,&nbsp;isdismiss);</code></div><div class="line number109 index108 alt2">&nbsp;</div><div class="line number110 index109 alt1"><code class="js comments">//置群成员专属头衔&nbsp;需群主权限</code></div><div class="line number111 index110 alt2"><code class="js comments">//groupid&nbsp;目标群</code></div><div class="line number112 index111 alt1"><code class="js comments">//QQID&nbsp;目标QQ</code></div><div class="line number113 index112 alt2"><code class="js comments">//newspecialtitle&nbsp;头衔（如果要删除，这里填空）</code></div><div class="line number114 index113 alt1"><code class="js comments">//duration&nbsp;专属头衔有效期，单位为秒。如果永久有效，这里填写-1。</code></div><div class="line number115 index114 alt2"><code class="js plain">CQS.C_SetGroupSpecialTitle(groupid,&nbsp;QQID,&nbsp;newspecialtitle,&nbsp;duration);</code></div><div class="line number116 index115 alt1">&nbsp;</div><div class="line number117 index116 alt2"><code class="js comments">//置讨论组退出</code></div><div class="line number118 index117 alt1"><code class="js comments">//discussid&nbsp;目标讨论组号</code></div><div class="line number119 index118 alt2"><code class="js plain">CQS.C_SetDiscussLeave(discussid);</code></div><div class="line number120 index119 alt1">&nbsp;</div><div class="line number121 index120 alt2"><code class="js comments">//置好友添加请求</code></div><div class="line number122 index121 alt1"><code class="js comments">//responseflag&nbsp;请求事件收到的&nbsp;responseflag&nbsp;参数</code></div><div class="line number123 index122 alt2"><code class="js comments">//responseoperation&nbsp;REQUEST_ALLOW&nbsp;或&nbsp;REQUEST_DENY</code></div><div class="line number124 index123 alt1"><code class="js comments">//remark&nbsp;添加后的好友备注</code></div><div class="line number125 index124 alt2"><code class="js plain">CQS.C_SetFriendAddRequest(responseflag,&nbsp;responseoperation,&nbsp;remark);</code></div><div class="line number126 index125 alt1">&nbsp;</div><div class="line number127 index126 alt2"><code class="js comments">//置群添加请求</code></div><div class="line number128 index127 alt1"><code class="js comments">//responseflag&nbsp;请求事件收到的&nbsp;responseflag&nbsp;参数</code></div><div class="line number129 index128 alt2"><code class="js comments">//requesttype根据请求事件的子类型区分&nbsp;REQUEST_GROUPADD&nbsp;或&nbsp;REQUEST_GROUPINVITE</code></div><div class="line number130 index129 alt1"><code class="js comments">//responseoperation&nbsp;&nbsp;REQUEST_ALLOW&nbsp;或&nbsp;REQUEST_DENY</code></div><div class="line number131 index130 alt2"><code class="js comments">//reason&nbsp;操作理由，仅&nbsp;REQUEST_GROUPADD&nbsp;且&nbsp;REQUEST_DENY&nbsp;时可用</code></div><div class="line number132 index131 alt1"><code class="js plain">CQS.C_SetGroupAddRequestV2(responseflag,&nbsp;requesttype,&nbsp;responseoperation,&nbsp;reason)</code></div><div class="line number133 index132 alt2">&nbsp;</div><div class="line number134 index133 alt1"><code class="js comments">//取群成员信息</code></div><div class="line number135 index134 alt2"><code class="js comments">//groupid&nbsp;目标QQ所在群</code></div><div class="line number136 index135 alt1"><code class="js comments">//QQID&nbsp;目标QQ号</code></div><div class="line number137 index136 alt2"><code class="js comments">//nocache&nbsp;不使用缓存</code></div><div class="line number138 index137 alt1"><code class="js plain">CQS.C_GetGroupMemberInfoV2(groupid,&nbsp;QQID,&nbsp;nocache);</code></div><div class="line number139 index138 alt2">&nbsp;</div><div class="line number140 index139 alt1"><code class="js comments">//取陌生人信息</code></div><div class="line number141 index140 alt2"><code class="js comments">//QQID&nbsp;目标QQ</code></div><div class="line number142 index141 alt1"><code class="js comments">//nocache&nbsp;不使用缓存</code></div><div class="line number143 index142 alt2"><code class="js plain">CQS.C_GetStrangerInfo(QQID,&nbsp;nocache);</code></div><div class="line number144 index143 alt1">&nbsp;</div><div class="line number145 index144 alt2"><code class="js comments">//日志</code></div><div class="line number146 index145 alt1"><code class="js comments">//priority&nbsp;优先级，CQLOG&nbsp;开头的常量</code></div><div class="line number147 index146 alt2"><code class="js comments">//category&nbsp;类型</code></div><div class="line number148 index147 alt1"><code class="js comments">//content&nbsp;内容</code></div><div class="line number149 index148 alt2"><code class="js plain">CQS.C_AddLog(priority,&nbsp;category,&nbsp;content);</code></div><div class="line number150 index149 alt1">&nbsp;</div><div class="line number151 index150 alt2"><code class="js comments">//取Cookies&nbsp;慎用,&nbsp;此接口需要严格授权</code></div><div class="line number152 index151 alt1"><code class="js plain">CQS.C_GetCookies();</code></div><div class="line number153 index152 alt2">&nbsp;</div><div class="line number154 index153 alt1"><code class="js comments">//取CsrfToken&nbsp;慎用,&nbsp;此接口需要严格授权</code></div><div class="line number155 index154 alt2"><code class="js plain">CQS.C_GetCsrfToken();</code></div><div class="line number156 index155 alt1">&nbsp;</div><div class="line number157 index156 alt2"><code class="js comments">//取登录QQ</code></div><div class="line number158 index157 alt1"><code class="js plain">CQS.C_GetLoginQQ();</code></div><div class="line number159 index158 alt2">&nbsp;</div><div class="line number160 index159 alt1"><code class="js comments">//取登录QQ昵称</code></div><div class="line number161 index160 alt2"><code class="js plain">CQS.C_GetLoginNick();</code></div><div class="line number162 index161 alt1">&nbsp;</div><div class="line number163 index162 alt2"><code class="js comments">//取应用目录，返回的路径末尾带"\"</code></div><div class="line number164 index163 alt1"><code class="js plain">CQS.C_GetAppDirectory();</code></div><div class="line number165 index164 alt2">&nbsp;</div><div class="line number166 index165 alt1"><code class="js comments">//置致命错误提示</code></div><div class="line number167 index166 alt2"><code class="js comments">//errorinfo&nbsp;错误信息</code></div><div class="line number168 index167 alt1"><code class="js plain">CQS.C_SetFatal(errorinfo);</code></div><div class="line number169 index168 alt2">&nbsp;</div><div class="line number170 index169 alt1"><code class="js comments">//接收语音，接收消息中的语音(record),返回保存在&nbsp;\data\record\&nbsp;目录下的文件名</code></div><div class="line number171 index170 alt2"><code class="js comments">//file&nbsp;收到消息中的语音文件名(file)</code></div><div class="line number172 index171 alt1"><code class="js comments">//outformat&nbsp;应用所需的语音文件格式，目前支持&nbsp;mp3&nbsp;amr&nbsp;wma&nbsp;m4a&nbsp;spx&nbsp;ogg&nbsp;wav&nbsp;flac</code></div><div class="line number173 index172 alt2"><code class="js plain">CQS.C_GetRecord(file,&nbsp;outformat);</code></div><div class="line number174 index173 alt1">&nbsp;</div><div class="line number175 index174 alt2"><code class="js comments">//获取图片URL</code></div><div class="line number176 index175 alt1"><code class="js comments">//a&nbsp;收到消息中的图片文件名</code></div><div class="line number177 index176 alt2"><code class="js plain">CQS.C_GetPicUrl(a);</code></div><div class="line number178 index177 alt1">&nbsp;</div><div class="line number179 index178 alt2"><code class="js comments">//在登陆酷Q的电脑上弹框(调试用)</code></div><div class="line number180 index179 alt1"><code class="js comments">//a&nbsp;弹框内容</code></div><div class="line number181 index180 alt2"><code class="js comments">//b&nbsp;弹框标题</code></div><div class="line number182 index181 alt1"><code class="js plain">CQS.C_Msgbox(a,&nbsp;b);</code></div><div class="line number183 index182 alt2">&nbsp;</div><div class="line number184 index183 alt1"><code class="js comments">//发送GET请求</code></div><div class="line number185 index184 alt2"><code class="js comments">//url&nbsp;请求地址</code></div><div class="line number186 index185 alt1"><code class="js comments">//head&nbsp;协议头(可选)&nbsp;格式&nbsp;xx:123123&nbsp;&nbsp;一个换行一条</code></div><div class="line number187 index186 alt2"><code class="js plain">CQS.C_HttpGet(url,&nbsp;head);</code></div><div class="line number188 index187 alt1">&nbsp;</div><div class="line number189 index188 alt2"><code class="js comments">//发送POST请求</code></div><div class="line number190 index189 alt1"><code class="js comments">//url&nbsp;请求地址</code></div><div class="line number191 index190 alt2"><code class="js comments">//head&nbsp;协议头(可选)&nbsp;格式&nbsp;xx:123123&nbsp;&nbsp;一个换行一条</code></div><div class="line number192 index191 alt1"><code class="js comments">//data&nbsp;Post的数据(可选)</code></div><div class="line number193 index192 alt2"><code class="js plain">CQS.C_HttpPost(url,&nbsp;head,&nbsp;data);</code></div><div class="line number194 index193 alt1">&nbsp;</div><div class="line number195 index194 alt2"><code class="js comments">//通过前后字符串截取数据(超级截取函数)</code></div><div class="line number196 index195 alt1"><code class="js comments">//zhong&nbsp;需要截取的字符串</code></div><div class="line number197 index196 alt2"><code class="js comments">//qian&nbsp;前字符串</code></div><div class="line number198 index197 alt1"><code class="js comments">//hou&nbsp;后字符串</code></div><div class="line number199 index198 alt2"><code class="js comments">//QnH&nbsp;后字符串从总字符串后面开始搜索(可选),0&nbsp;为默认取消，1为设置</code></div><div class="line number200 index199 alt1"><code class="js comments">//QHJ&nbsp;前字符串从总字符串后面开始搜索(可选),0&nbsp;为默认取消，1为设置</code></div><div class="line number201 index200 alt2"><code class="js comments">//QK&nbsp;后字符串从前字符串后面开始搜索(可选),0&nbsp;为默认取消，1为设置</code></div><div class="line number202 index201 alt1"><code class="js plain">CQS.C_Smid(zhong,&nbsp;qian,&nbsp;hou,&nbsp;QnH,&nbsp;QHJ,&nbsp;QK);</code></div><div class="line number203 index202 alt2">&nbsp;</div><div class="line number204 index203 alt1"><code class="js comments">//获取字符串的长度</code></div><div class="line number205 index204 alt2"><code class="js comments">//a&nbsp;字符串</code></div><div class="line number206 index205 alt1"><code class="js plain">CQS.C_Len(a);</code></div><div class="line number207 index206 alt2">&nbsp;</div><div class="line number208 index207 alt1"><code class="js comments">//通过位置截取数据</code></div><div class="line number209 index208 alt2"><code class="js comments">//a&nbsp;需要截取的字符串</code></div><div class="line number210 index209 alt1"><code class="js comments">//b&nbsp;开始截取位置(最小是1)</code></div><div class="line number211 index210 alt2"><code class="js comments">//c&nbsp;截取长度(可选)</code></div><div class="line number212 index211 alt1"><code class="js plain">CQS.C_Mid(a,&nbsp;b,&nbsp;c);</code></div><div class="line number213 index212 alt2">&nbsp;</div><div class="line number214 index213 alt1"><code class="js comments">//从左截取数据</code></div><div class="line number215 index214 alt2"><code class="js comments">//a&nbsp;需要截取的字符串</code></div><div class="line number216 index215 alt1"><code class="js comments">//b&nbsp;截取长度</code></div><div class="line number217 index216 alt2"><code class="js plain">CQS.C_Left(a,&nbsp;b);</code></div><div class="line number218 index217 alt1">&nbsp;</div><div class="line number219 index218 alt2"><code class="js comments">//从右截取数据</code></div><div class="line number220 index219 alt1"><code class="js comments">//a&nbsp;需要截取的字符串</code></div><div class="line number221 index220 alt2"><code class="js comments">//b&nbsp;截取长度</code></div><div class="line number222 index221 alt1"><code class="js plain">CQS.C_Right(a,&nbsp;b);</code></div><div class="line number223 index222 alt2">&nbsp;</div><div class="line number224 index223 alt1"><code class="js comments">//清除字符串前后空格</code></div><div class="line number225 index224 alt2"><code class="js comments">//a&nbsp;字符串</code></div><div class="line number226 index225 alt1"><code class="js plain">CQS.C_trim(a);</code></div><div class="line number227 index226 alt2">&nbsp;</div><div class="line number228 index227 alt1"><code class="js comments">//替换字符串里的内容</code></div><div class="line number229 index228 alt2"><code class="js comments">//a&nbsp;字符串</code></div><div class="line number230 index229 alt1"><code class="js comments">//b&nbsp;需要替换的字符</code></div><div class="line number231 index230 alt2"><code class="js comments">//c&nbsp;替换后的字符</code></div><div class="line number232 index231 alt1"><code class="js plain">CQS.C_replace(a,&nbsp;b,&nbsp;c);</code></div></div></td></tr></tbody></table></div>
</body>

</html>